package com.gmail.blackdog1987.carcare.dao;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.gmail.blackdog1987.carcare.dao.hibernate.EntityHibernateDao;
import com.gmail.blackdog1987.carcare.entity.TProduct;

@Repository("productDao")
public class ProductDao extends EntityHibernateDao<TProduct>{
	public final static Map<String, String> type = new HashMap<String, String>();
	
	static{
		type.put("t_order_carchange", "车辆改装");
		type.put("t_order_carfix", "车辆维修");
		type.put("t_order_carrent", "车辆租赁");
		type.put("t_order_carsale", "车辆销售");
		type.put("t_order_clean", "车辆清洗");
		type.put("t_order_drivecompany", "代驾陪驾");
		type.put("t_order_driveschool", "驾照");
		type.put("t_order_maintain", "美容维护");
		type.put("t_order_roadhelp", "道路救援");
		type.put("t_order_rules_check", "违章年检");
		type.put("t_gas_card", "加油卡申请");
		type.put("t_gas_card_pay", "加油卡充值");
		type.put("t_promotion_join", "参加活动");
	}
}
